import request from '@/utils/request'

/**
 * 
 * @param {获取otherApp账号信息} data 
 * @returns 
 */

export function getOtherAppAccountInfo(data) {
  return request({
    url: '/otherapp/account',
    method: 'post',
    data
  })
}

/**
 *
 * @param {获取otherApp好友列表} data 
 * @returns 
 * 
 */
 export function getOtherAppFriendList(data) {
    return request({
      url: '/otherapp/contact',
      method: 'post',
      data
    })
  }

 /**
 * 
 * @param {获取otherApp好友列表} data 
 * @returns 
 */

 export function getOtherAppMessageList(data) {
    return request({
      url: '/otherapp/content',
      method: 'post',
      data
    })
  }

 /**
 * 
 * @param {搜索} data 
 * @returns 
 */

 export function searchFunction(data,url) {
  return request({
    url: url,
    method: 'post',
    data
  })
}

/**
 * 
 * @param {钉钉群成员} data 
 * @returns 
 */

export function getDingDingQunCYApi(data,url) {
  return request({
    url: url,
    method: 'post',
    data
  })
}

/**
 * 
 * @param {微信企业号成员} data 
 * @returns 
 */

export function getweChatWorkCYApi(data,url) {
  return request({
    url: url,
    method: 'post',
    data
  })
}


export function getFaceBookImgApi(data,url) {
  return request({
    url: url,
    method: 'post',
    data
  })
}





